package com.young.mapper;

import com.young.domain.SysRoleMenu;
import com.young.domain.SysRoleMenuExample;
import java.util.List;

public interface SysRoleMenuMapper {

  int deleteByPrimaryKey(Long id);

  int insert(SysRoleMenu record);

  int insertSelective(SysRoleMenu record);

  List<SysRoleMenu> selectByExample(SysRoleMenuExample example);

  SysRoleMenu selectByPrimaryKey(Long id);

  int updateByPrimaryKeySelective(SysRoleMenu record);

  int updateByPrimaryKey(SysRoleMenu record);

  int deleteByRoleId(Long roleId);

  int deleteByMenuId(Long menuId);
}